package com.fanghuaiming.mtat.sku.dao.mapper;

import com.fanghuaiming.mtat.sku.dao.model.MtatSku;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/****
 * @description: 订单dao操作接口
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/11/27 下午1:57
 *
 */
@Repository
public interface MtatSkuMapper {

    /**
     * @Description: 批量插入数据
     *
     * @param:
     * @return:
     * @auther: fanghuaiming
     * @date: 2020/12/4 下午7:54
     * @version:1.0.0
     */
    void batchInsertSku(@Param("mtatSkuList") List<MtatSku> mtatSkuList);

    /**
     * @Description: 单条插入数据库
     *
     * @param:
     * @return:
     * @auther: fanghuaiming
     * @date: 2020/12/4 下午9:50
     * @version:1.0.0
     */
    void insertSku(MtatSku mtatSku);
}
